package dto;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 商品类目/商户类型
 * @Author: jeecg-boot
 * @Date:   2019-10-30
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
public class ShopTypeDTO implements Serializable {

    private Integer id;
    /**1 ：商铺类型 2 ：商品类型 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer type;
    /**名称*/
    private String name;
    /**上一级id*/
    private Integer parentId;
    /**备注*/
    private String note;

    private List<ShopTypeDTO> children;

    private Integer level;

}

